import { _decorator, Component, Node } from 'cc';
import { signIn_config, skin_config } from '../manager/AppControll';
import { DataHelper } from '../system/DataHelper';
const { ccclass, property } = _decorator;

@ccclass('SevenSignInItem')
export class SevenSignInItem extends Component {
    private mSingnConfig: signIn_config = null;
    private mSkinConfig: skin_config = null;

    InitItemConfig(singnConfig) {
        this.mSingnConfig = singnConfig;
        this.mSkinConfig = DataHelper.GetSkin_configById(singnConfig.debrisID);;
    }

    get singnConfig() {
        return this.mSingnConfig;
    }

    get skinConfig() {
        return this.mSkinConfig;
    }

}


